]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
a11y: Using the proper label_actor for date menu on top panel
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 3 May 2012 18:10:14 +0000 (20:10 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 3 May 2012 18:47:11 +0000 (20:47 +0200)
On the code two labels are created. One is used on the date menu
itself, and the other for the menu icon at the top panel. The wrong
label was used as the label_actor for the top panel menu icon.

https://bugzilla.gnome.org/show_bug.cgi?id=675307

js/ui/dateMenu.js

index 47231faeb3f930d3ad8e04010b7e906da07d6e80..616e45afe19f7ec22fdaaa6249c0f6b431b24ff3 100644 (file)
@@ -75,7 +75,7 @@ const DateMenuButton = new Lang.Class({
 
         // Date
         this._date = new St.Label();
-        this.actor.label_actor = this._date;
+        this.actor.label_actor = this._clock;
         this._date.style_class = 'datemenu-date-label';
         vbox.add(this._date);